
from frontend.roleApplication import RoleApplication
from frontend.form import Type

class Typist1Application(RoleApplication):

    def __init__(self):
        super(Typist1Application, self).__init__("storagegalore", "Typist1") 
        self.register_transition_step("CreateIndex", self.CreateIndex_form_creator, name_fields=["sequence", "FirstName", "LastName","DocumentNumber"])

    def CreateIndex_form_creator(self, stepname, form):
        form.add_task_label(fields=["FirstName", "LastName","DocumentNumber"]) 


if __name__ == '__main__':
    app = Typist1Application()
    app.MainLoop()